package com.ruoyi.game.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提现记录对象 game_withdrawal
 * 
 * @author ruoyi
 * @date 2024-03-21
 */
public class GameWithdrawalRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 微信ID */
    @Excel(name = "微信ID")
    private String userOpenId;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private BigDecimal userWithdrawalMoney;

    /** 提现渠道 */
    @Excel(name = "提现渠道")
    private Integer channel;

    /** 提现状态 */
    @Excel(name = "提现状态")
    private Integer type;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserOpenId(String userOpenId) 
    {
        this.userOpenId = userOpenId;
    }

    public String getUserOpenId() 
    {
        return userOpenId;
    }
    public void setUserWithdrawalMoney(BigDecimal userWithdrawalMoney) 
    {
        this.userWithdrawalMoney = userWithdrawalMoney;
    }

    public BigDecimal getUserWithdrawalMoney() 
    {
        return userWithdrawalMoney;
    }
    public void setChannel(Integer channel) 
    {
        this.channel = channel;
    }

    public Integer getChannel() 
    {
        return channel;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userOpenId", getUserOpenId())
            .append("userWithdrawalMoney", getUserWithdrawalMoney())
            .append("channel", getChannel())
            .append("type", getType())
            .append("creationTime", getCreationTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
